package com.fowo.api.controller.purchase.importPo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class WarehouseBinProductsExcelPo {
    @ContentStyle(
            horizontalAlignment = HorizontalAlignmentEnum.LEFT,
            dataFormat = 49
    )
    @ExcelProperty(value = "仓位")
    private String parentIdStorageBin;

    @Size(max = 50, message = "产品长度不能超过20")
    @ContentStyle(
            horizontalAlignment = HorizontalAlignmentEnum.LEFT,
            dataFormat = 49
    )
    @ExcelProperty(value = "产品")
    private String productIdName;


    @Size(max = 50, message = "sku长度不能超过20")
    @ContentStyle(
            horizontalAlignment = HorizontalAlignmentEnum.LEFT,
            dataFormat = 49
    )
    @ExcelProperty(value = "sku")
    private String sku;

    @ExcelProperty(value = "店铺")
    private String shopName;

    @ExcelProperty(value = "fnsku")
    private String fnsku;

}
